package com.wmm.fast.main.shop2Observer.eventBus;

import lombok.Data;

/**
 * @Auther: wangzun
 * @Date: 2018/9/13 11:18
 * @Description: 抽象事件通知者
 */
@Data
public abstract class Notifyler {
    private EventHandler eventHandler = new EventHandler();

    public abstract void addListener(Object bean, String methodName, Object... args);

    public abstract  void notifyEAll();
}
